package com.lthlearn.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serial;
import java.io.Serializable;
import java.util.List;

/**
 * @author: 2942733239@qq.com
 * @date: 2024/11/4 11:00
 * @description: com.lthlearn.pojo
 * @version: 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class User {

    private Integer userId;

    private String username;

    private String email;

    private String pwd;

    private Integer power;

    // 一个用户可以收藏多个景点
    private List<Travel> travels;

}
